package com.bjsxt.users.service;

import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.JSONObject;
import com.bjsxt.users.pojo.AAdmins;

/**
 * 
 * @author HTF
 *
 */
public interface IAdminsService {

	/**
	 * 插入一条数据
	 * @param admins
	 * @return
	 */
	JSONObject insert(AAdmins admins);
	
	/**
	 * 更新一条数据
	 * @param admins
	 * @return
	 */
	JSONObject update(AAdmins admins);
	
	/**
	 * 删除一条数据
	 * @param admins
	 * @return
	 */
	JSONObject delete(AAdmins admins);
	
	/**
	 * 查询一条记录
	 * @param condMap
	 * @return
	 */
	AAdmins findOneAdminsService(Map<String,Object> condMap);
	
	/**
	 * 查询多行记录
	 * @param condMap
	 * @return
	 */
	List<AAdmins> findCondListAdminsService(Map<String,Object> condMap);
}
